﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Adams.Public.Web.Business.Web.PressReleases
{
    public static class PressRelease
    {
        public static Adams.Public.DataTransfer.Web.PressReleases.PressRelease.PageLoad PageLoad(Adams.Public.DataTransfer.PressReleases.GetPressReleaseInput input)
        {
            var model = new Adams.Public.DataTransfer.Web.PressReleases.PressRelease.PageLoad();
            var data = Api.GetData<Adams.Public.DataTransfer.PressReleases.GetPressRelease>("PressReleases/GetPressRelease", input);
            model.PressRelease = data.PressRelease;
            return model;
        }
    }
}
